package com.wzy.ucenter.feignclint;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author wzy
 * @Date 2024/1/30 15:07
 * @description: 远程调用验证码校验接口
 */
@FeignClient(value ="checkcode",fallbackFactory = CheckCodeClientFactory.class)
public interface CheckCodeClient {
    @PostMapping("/checkcode/verify")
    Boolean verify(@RequestParam("key") String key,@RequestParam("code") String code);
}
